home *** CD-ROM | disk | FTP | other *** search
/ Champak 108 / jogo-disk-108.iso / Games / steppenwolf_1_chapter_4.swf / scripts / DefineButton2_790 / BUTTONCONDACTION on(keyPress i).as next >
Text File  |  2010-05-15  |  454b  |  18 lines

  1. on(keyPress "i"){
  2.    if(eval("/Variables:AnimJoue") == false and getProperty("_root.Animatiques", _currentframe) == 1)
  3.    {
  4.       if(eval("/Variables:AnimJoue") != true)
  5.       {
  6.          set("/Variables:Stoppe",true);
  7.          if(eval("/Variables:Grimpe") == false)
  8.          {
  9.             tellTarget("_root")
  10.             {
  11.                gotoAndStop(eval("/Variables:EtatVide"));
  12.             }
  13.          }
  14.          play();
  15.       }
  16.    }
  17. }
  18.